
					<h3 class="xf_mem_accout_title">等待满标的理财标</h3>
					<!-- 搜索区域 -->
					<ul class="xf_membill_search clr">
						<li>
							<select name="xf_wylc_selectAge" class="xf_membill_selectAge"  id="type">   
						       <option value="0"
						       #{if page?.conditions?.type == 0}
				                  selected="selected"
				                  #{/if}>全部</option>   
						       <option value="1"
						       #{if page?.conditions?.type == 1}
			                  selected="selected"
			                  #{/if}>标题</option>   
						       <option value="2"
						       #{if page?.conditions?.type == 2}
				                  selected="selected"
				                  #{/if}>编号</option>   
							</select>
						</li>
						<li class="xf_membill_searchLi">
							<input type="text"  id="paramter" class="xf_membill_shurk_yhm" value="${page?.conditions?.keyWords}">
							<input type="button" value="搜 索" class="xf_membill_button_yhm" onclick="showWaitFullBids(1,10);">
						</li>
					</ul>
					<!-- 搜索结果 -->
					<div class="xf_membill_search_jg xf_membill_search_table">
						<div class="xf_membill_search_jgleft">
							<ul>
								<li class="xf_membill_search_th">序号</li>
								#{list items:page.page,as:'bid'}
								
								<li class="xf_membill_search_td">${bid_index}</li>
								#{/list}
							</ul>
						</div>
						<div class="xf_membill_search_jgcenter">
							<table border="0" cellpadding="0" cellspacing="0" width="830" class="xf_membill_acc_viewcpms">
								<tbody>
									<tr>
									  	<th width="74" height="45">借款标编号</th>
									  	<th align="left" width="108">借款标标题</th>
									  	<th>借款标类型</th>
									  	<th>借款人</th>
									  	<th>借款金额</th>
									  	<th>年利率</th>
									  	<th>投标本金</th>
									  	<th>本息合计</th>
									  	<th>资料审核</th>
									  	<th>满标进度</th>
									  	<th>状态</th>
									</tr>
							#{list items:page.page,as:'bid'}
									<tr>
										<td align="center">${bid?.no}</td>
										<td align="center"><span class="membill_list_limit" limit="24">${bid?.title}</span></td>
										<td align="center">${bid?.product_name}</td>
										<td align="center">${bid?.name}</td>
										<td align="center">￥${bid?.bid_amount?.format('###,##0.00')}</td>
										<td align="center">${bid?.apr}%</td>
										<td align="center">￥${bid?.invest_amount?.format('###,##0.00')}</td>
										<td align="center">￥${bid?.receiving_amount?.format('###,##0.00')}</td>
										<td align="center" >${bid?.product_item_count}/${bid?.user_item_count}</td>
										<td align="center" >${bid?.loan_schedule}%</td>
										<td align="center">借款中</td>
									</tr>
								#{/list}
									<tr>
										<td align="center"><span class="membill_list_lv2">合计</span></td>
										<td align="left"></td>
										<td align="center"></td>
										<td align="center"></td>
										<td align="center"><span class="membill_list_lv3" id="bidAmount"></span></td>
										<td align="center"></td>
										<td align="center"><span class="membill_list_lv3" id ="investAmount"></span></td>
										
										<td align="center"><span class="membill_list_lv3" id ="receiveAmount"></span></td>
										<td align="center"></td>
										<td align="center"></td>
									</tr>
								</tbody>
							</table>
						</div>
						<div class="xf_membill_search_jgright">
							<ul>
								<li class="xf_membill_search_th">操作项</li>
								#{list items:page.page,as:'bid'}
								<li class="xf_membill_search_td">
									<a href="@{front.invest.investAction.invest(bid?.bid_id)}" class="xf_membill_cza" target="_blank">详情</a>
									
								</li>
								#{/list}
							</ul>
						</div>
						<!-- 清除浮动 -->
						<div class="clear"></div>
					</div>
					<!-- 分页器 -->
					<div class="xf_wylc_page xf_membill_view_page1">
						#{page funMethod:"showWaitFullBids",currPage:page.currPage,pageSize:page.pageSize,totalCount:page.totalCount,theme:2 ,style:2/}
					</div>
					
					<script>

		//合计
		var bidAmount = 0;//借款金额
		var investAmount = 0;//投标金额
		var receiveAmount = 0;//本息合计
		 #{list items:page.page,as:'invest'}
		 bidAmount += ${invest?.bid_amount};
		 investAmount += ${invest?.invest_amount};
		 receiveAmount += ${invest?.receiving_amount};
		#{/list}
		
		$("#investAmount").html('￥'+investAmount.toFixed(2));
		$("#bidAmount").html('￥'+bidAmount.toFixed(2));
		$("#receiveAmount").html('￥'+receiveAmount.toFixed(2));

</script>
				